﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DataModel
{
    public class TermLabel
    {
        public static List<String> CultureCodes = new List<string>(new String[] {
            "en-US",
            "en-CA",
            "fr-FR"
        });
        
        public String Name { get; set; }
        public String CultureCode { get; set; }
        public Boolean IsDefaultForLanguage { get; set; }

        /// <summary>
        /// Initializes a new instance of the <see cref="TermLabel"/> class.
        /// </summary>
        public TermLabel() 
        { 
            CultureCode = "en-US";
            IsDefaultForLanguage = false;
        }

        /// <summary>
        /// Initializes a new instance of the <see cref="TermLabel"/> class.
        /// </summary>
        /// <param name="name">The name.</param>
        /// <param name="cultureCode">The culture code.</param>
        /// <param name="isDefault">if set to <c>true</c> [is default].</param>
        public TermLabel(String name, String cultureCode, Boolean isDefault)
        {
            this.Name = name;
            this.CultureCode = cultureCode;
            this.IsDefaultForLanguage = isDefault;
        }
    }
}
